import axios from './base'
import type { ISearchResultList } from '@/types'

export function fetchSearchData(keyword = '') {
    return axios.get<ISearchResultList, ISearchResultList>('home_search', {
        params: { _label_like: keyword }
    })
}